package com.zh.stargraph2.core.service;

import com.zh.stargraph2.core.pojo.ComfyuiTask;

public interface RedisService {

    public ComfyuiTask addQueueTask(ComfyuiTask comfyuiTask);

    public ComfyuiTask popQueueTask();

    void addStartedTask(String promptId, ComfyuiTask task);

    ComfyuiTask getStartedTask(String promptId);
}
